// @author Tjzlo
// @version 2025/2/17 00:17

package com.old.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActivityDTO implements Serializable {
    //    活动id
    private Integer activityId;
    private Integer authorId;
    private String avatar;
    private String imageUrl;
    private String title;
    private String content;
    private String name;
    private Integer isShow;
    private Integer activityNum;
    private Integer joinNumjoinNum;

    private String joinNum;

    //    活动创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //    活动最后更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private String activityPlace;
    private int userId;
    private int isjoin;

}

